﻿using System;
namespace VegetableSale.NET.Entities
{
	public class Stock
	{
		private uint skid;
		private int commid;
		private double skmoney;
		private int sknumber;
		private string totalprice;
		private DateTime skdate;

		public Stock()
		{
		}

        public Stock(uint skid, int commid, double skmoney, int sknumber, string totalprice, DateTime skdate)
        {
            this.skid = skid;
            this.commid = commid;
            this.skmoney = skmoney;
            this.sknumber = sknumber;
            this.totalprice = totalprice;
            this.skdate = skdate;
        }

        public uint Skid { get => skid; set => skid = value; }
        public int Commid { get => commid; set => commid = value; }
        public double Skmoney { get => skmoney; set => skmoney = value; }
        public int Sknumber { get => sknumber; set => sknumber = value; }
        public string Totalprice { get => totalprice; set => totalprice = value; }
        public DateTime Skdate { get => skdate; set => skdate = value; }
    }
}

